:root {
    /* JointJS Palette */
    --jj-color1: #ed2637;
    --jj-color2: #131e29;
    --jj-color3: #dde6ed;
    --jj-color4: #f6f740;
    --jj-color5: #0075f2;
    --jj-color6: #1a2938;
    --jj-color7: #cad8e3;

    /* Dark Theme */
    --step-stroke-color: var(--jj-color1);
    --step-fill-color: var(--jj-color2);
    --step-text-color: var(--jj-color3);
    --decision-stroke-color: var(--jj-color3);
    --decision-fill-color: var(--jj-color2);
    --decision-text-color: var(--jj-color3);
    --start-stroke-color: var(--jj-color1);
    --start-fill-color: var(--jj-color2);
    --start-text-color: var(--jj-color1);
    --flow-stroke-color: var(--jj-color1);
    --flow-label-stroke-color: var(--jj-color2);
    --flow-label-fill-color: var(--jj-color1);
    --flow-label-text-color: var(--jj-color3);
    --flow-selection-color: var(--jj-color6);
    --frame-color: var(--jj-color4);
    --background-color: var(--jj-color2);
    --switch-color: var(--jj-color3);
    --switch-background-color: var(--jj-color1);
    --logo-color: var(--jj-color3);
}

body {
    margin: 0;
    background-color: rgb(53, 53, 64);
    --green: rgb(61, 163, 78);
    font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

#nav {
    position: static;
    top: 0;
    display: flex;
    justify-content: left;
    background-color: var(--green);
    padding: 0.5em 3em;
}

h1 {
    margin: 0;
    color: black;
}

input, textarea {
    background-color: rgb(64, 64, 80);
    border: none;
    color: rgb(183, 183, 197);
    width: 15em;
}

input::placeholder, textarea::placeholder {
    color: rgb(142, 142, 160)
}

form {
    margin-left: 1em;
}

.center {
    margin: auto;
    width: 50%;
    padding: 10px;
}

.bold {
    font-weight: bolder;
}

#logo {
    width: 3em;
}

#title {
    margin: 0.5em;
}

#flowchart {
    border: solid black 3px;
}

.node {
    border: solid black 1px;
    display: inline-block;
    margin: 0.25em;
    padding: 0.25em;
}

.inputpad {
    padding: 0.5em;
}

#splash {
    width: 100vw;
    background-color: rgba(40, 40, 40, 0.7);
    height: 100vh;
    position: fixed;
    display: flex;
    z-index: 6969696969;
    justify-content: center;
}

#butt {
    position: absolute;
    top: 0;
    background-color: rgb(64, 64, 80);
    margin-top: 200px;
    padding: 1em;
}

.hidden {
    display: none !important;
}

#paper-tools {
    background-color: rgb(33, 33, 33);
    height: 2em;
    display: flex;
}

#paper-tools>* {
    padding: 0 0.25em;
}

#paper-container {
    width: 100%;
    height: max(calc(100vh - 300px), 500px);
    overflow-y: scroll;
    overflow-x: scroll;
}

.toolholder{
    display:flex;
    background-color: rgb(64, 64, 80);
    align-items: center;
}

.div1 {
    width: 2em;
    height: 1.5em;
    border: none;
    border-left: solid black 2px;
    font-size: x-large;
    background-color: rgb(64, 64, 80);
    color: rgb(183, 183, 197);
    transition: 0.5s;
}

.div1:hover {
    background-color: rgb(33, 33, 33);
}

.standardSize {
    font-size: inherit;
}

.standardSize::before{
    font-size: x-large;
    content:" "
}

.headCarrier {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0.25em;
}

#aboveContent {
    display: flex;
    justify-content: start;
    padding: 1em;
    margin-top: 0.5em;
}

#aboveContent>* {
    margin: 0 0.5em;
}

.headerText {
    color: var(--green);
    border-bottom: solid black 3px;
    display: inline-block;
    padding-right: 3em;
}

.headerBox {
    background-color: rgb(39, 39, 39);
    width: 15em;
    border-radius: 5em;
    height: 1.3em;
    padding: 1em;
    margin-bottom: 0.5em;
}

label {
    color: rgb(183, 183, 197);
}

.grower {
    flex-grow: 1;
}

#textEditor {
    width: min(80vw, 20em);
}

.jj-decision-body {
    /* fill: var(--decision-fill-color); */
    fill: #27272a;
    stroke: var(--decision-stroke-color);
    stroke-width: 3;
}


.jj-decision-text {
    fill: var(--decision-text-color);
}


.jj-step-body {
    fill: #27272a;
    stroke: var(--step-stroke-color);
}

.jj-step-text {
    fill: var(--step-text-color);
}